package com.dst.dao;

import com.dst.entity.Phone;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PhoneMapper {
    List<Phone> selectAll();
    void delete(int id);
    void update(Phone phone);
    Phone selectById(int id);
    void insert(Phone phone);
    void deleteBatch(int [] ids);
    void deletePhone(int id);
    List<Phone> selectAllLimit(@Param("curpage") int curpage,@Param("pagesize") int pagesize);
}
